<? session_start();
	if(isset($_SESSION['id']) & isset($_SESSION['pass']))
	{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Form Tambah Informasi</title>
</head>

<body>
<form method="post" action="add_inf.php">
	<table>
		<tr>
			<td colspan="3">Menu Tambah Informasi</td>
		</tr>
		<tr>
			<td>Kode</td>
			<td>:</td>
			<td><input name="kode" type="text"></td>
		</tr>
		<tr>
			<td>Tgl Keluar</td>
			<td>:</td>
			<td><input name="tgl" type="text"></td>
		</tr>
		<tr>
			<td colspan="3"><b>Susunan Tanggal : YYYY-MM-DD</b></td>
		</tr>
		<tr>
			<td>Isi</td>
			<td>:</td>
			<td><textarea name="isi" cols="26" rows="12"></textarea></td>
		</tr>
		<tr>
			<td>Author</td>
			<td>:</td>
			<td><input name="author" type="text"></td>
		</tr>
		<tr>
			<td><input name="submit" type="submit" value="Save"></td>
			<td>&nbsp;</td>
			<td><input name="reset" type="reset" value="Reset"></td>
		</tr>
	</table>
	
	<a href="menu_informasi.php">Back to Menu Informasi</a><br>
	<a href="menu_admin.php">Back to Menu Admin</a>
</form>

</body>
</html>
<? 
	}
	else
	echo "Silahkan <a href='index.php'>Login</a> dulu.";
?>
